<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>药品更新</title>
		<script src=" ../../js/jquery-3.3.1.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" href="../../css/bootstrap.css" type="text/css" />
		<script src="../../js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<style>
			* {
				margin: 0 auto;
				padding: 0;
			}

			#a {
				width: 1000px;
				height: 800px;
				background-image: url(../../img/2.jpg);
				background-size: 100% 100%;
				background-repeat: no-repeat;
				color: white;
			}
			input{
				color: black;
			}

		</style>
	</head>
	<body>
		<div id="a">
			<form action="/drug/update" method="post">
				<div class="form-group">
					<label for="id">药品id</label>
					<input type="text" name="id" class="form-group" id="id" value="${drug.id}">
				</div>
				<div class="form-group">
					<label for="dname">药品名称</label>
					<input type="text" name="dname" class="form-group" id="dname" value="${drug.dname}">
				</div>
				<div class="form-group">
					<label for="num">药品数量</label>
					<input type="text" name="num" class="form-group" id="num">
				</div>
				<div class="form-group">
					<label for="sprice">药品单价</label>
					<input type="text" name="sprice" class="form-group" id="sprice">
				</div>
				<button type="submit" class="btn btn-default">确认修改</button>
			</form>
			</div>
	</body>
</html>
